import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SystemAdminComponent } from './admin/admin.component';
import { SystemCompanyComponent } from './company/company.component';
import { SystemServeComponent } from './serve/serve.component';
import { SystemSettingComponent } from './setting/setting.component';
const routes: Routes = [
  { path: 'admin', component: SystemAdminComponent },
  { path: 'company', component: SystemCompanyComponent },
  { path: 'serve', component: SystemServeComponent },
  { path: 'setting', component: SystemSettingComponent }];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class SystemRoutingModule { }
